import { ReactNode } from "react";
import { Tag } from "antd";
import { SHOP_TYPE } from "@/concacts/valueEnum";

export const getTypeTag = (type: number): ReactNode => {
  return <Tag color="blue">{SHOP_TYPE[type]?.text ?? '其他'}</Tag>;
};
